#!/bin/bash
cd /data/local/tmp
./hciconfig hci0 down
./bdaddr -i hci0 -r -t 00:06:66:12:34:56
./hciconfig hci0 up
./hciconfig hci0 piscan
./hciconfig hci0 sspmode 0
./hciconfig hci0 lm MASTER,ACCEPT
./hciconfig hci0 class 0x10000